package com.baizhi.app.service.impl;

import com.baizhi.app.dao.BannerDao;
import com.baizhi.app.service.BannerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Service
public class BannerServiceImpl implements BannerService {
    @Autowired
    private BannerDao bannerDao;
    @Override
    public List<Map> showAllBanner(int bannerNumber) {
        List<Map> mapList = bannerDao.selectAllBanner(bannerNumber);
        return mapList;
    }
}

